package com.ihisomp.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ihisomp.dto.OrgDeptDto;
import com.ihisomp.entity.OrgDept;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.lettuce.core.dynamic.annotation.Param;

/**
 * <p>
 * 科室信息 Mapper 接口
 * </p>
 *
 * @author zy
 * @since 2022-03-21
 */
public interface OrgDeptMapper extends BaseMapper<OrgDept> {

    /**
     * 分页查询
     *
     * @param page
     * @param req
     * @return
     */
    IPage<OrgDeptDto> searchPage(IPage<OrgDeptDto> page, @Param("req") OrgDeptDto req);
}
